package com.ssm.dto;

/**
 * Created by Sobte on 2017/3/17.
 */
public enum StatusEnum {

    success(1001, "成功！"), error(-1, "错误！");

    private int status;
    private String msg;

    StatusEnum(int status) {
        this.status = status;
    }

    StatusEnum(int status, String msg) {
        this.status = status;
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

}
